﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// 下拉框的数组内容为无和有
    /// </summary>
    public partial class CustomComChuamnCiDianCtrl : BaseDropDownCtrl
    {
        public CustomComChuamnCiDianCtrl()
        {
            InitializeComponent();
            InitialChuanCiDian();
        }
        private void InitialChuanCiDian()
        {
            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            {
               new CommonComboboxItemModel() { Behind=" ",Display=" " },

               new CommonComboboxItemModel() { Behind="L3-L4↑",Display="L3-L4↑"},
               new CommonComboboxItemModel() { Behind="L3-L4↓",Display= "L3-L4↓"},
               new CommonComboboxItemModel() { Behind="L2-L3↑",Display= "L2-L3↑"},
                new CommonComboboxItemModel() { Behind="L2-L3↓",Display="L2-L3↓"},
                new CommonComboboxItemModel() { Behind="L1-L2↑",Display="L1-L2↑"},
                new CommonComboboxItemModel() { Behind="L1-L2↓",Display="L1-L2↓"},
                new CommonComboboxItemModel() { Behind="L12-L1↑",Display="L12-L1↑"},
                new CommonComboboxItemModel() { Behind="L12-L1↓",Display="L12-L1↓"},
                new CommonComboboxItemModel() { Behind="L11-L12↑",Display="L11-L12↑"},
             new CommonComboboxItemModel() { Behind="L11-L12↓",Display="L11-L12↓"},
               new CommonComboboxItemModel() { Behind="L10-L11↑",Display= "L10-L11↑"},
                new CommonComboboxItemModel() { Behind="L10-L11↓",Display="L10-L11↓"}


        };
            this._ccdCamp.ItemsSource = list;

        }

    }
}
